package com.qingke.easyjava.calculator;

public class DevideOperator implements Operator {

    
    public double doOperate(double d1, double d2) throws Exception {
        if (d2 == 0) {
            throw new Exception("aaa");
        }
        
        return d1 / d2;
    }

}
